package com.yl.auth.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yl.auth.model.vo.WeijiVo;
import com.yl.auth.model.entity.Weiji;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ln
 * @since 2023-06-19
 */
public interface WeijiMapper extends BaseMapper<Weiji> {

    Page<WeijiVo> getweiji(Page<WeijiVo> iPage, @Param("lrname") String lrname, @Param("sbtime") String sbtime);

    WeijiVo getweijiById(@Param("id") Integer id);

    List<WeijiVo> getxiaoweiji();
}
